package com.weitu.occupationalHealth.medicalPlan.mapper;

import com.weitu.occupationalHealth.medicalPlan.entity.MedicalPlan;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MedicalPlanMapper {

    int insertSelective(MedicalPlan record);

    Map selectById(@Param("id") String id);

    int updateByIdSelective(MedicalPlan record);

    List<Map> selectAllPlans(Map map);

    int queryPlanCount(Map map);

    int deleteById(@Param("id") String id);
}